#include <QDebug>
#include "FullTeethPanel.h"
#include "ui_FullTeethPanel.h"

FullTeethPanel::FullTeethPanel(QWidget *parent) :
	QWidget(parent),
	ui(new Ui::FullTeethPanel)
{
	ui->setupUi(this);

	QButtonGroup *pGroup = new QButtonGroup(this);

	pGroup->addButton(ui->btn11, 11);
	pGroup->addButton(ui->btn12, 12);
	pGroup->addButton(ui->btn13, 13);
	pGroup->addButton(ui->btn14, 14);
	pGroup->addButton(ui->btn15, 15);
	pGroup->addButton(ui->btn16, 16);
	pGroup->addButton(ui->btn17, 17);
	pGroup->addButton(ui->btn18, 18);
	pGroup->addButton(ui->btn21, 21);
	pGroup->addButton(ui->btn22, 22);
	pGroup->addButton(ui->btn23, 23);
	pGroup->addButton(ui->btn24, 24);
	pGroup->addButton(ui->btn25, 25);
	pGroup->addButton(ui->btn26, 26);
	pGroup->addButton(ui->btn27, 27);
	pGroup->addButton(ui->btn28, 28);
	pGroup->addButton(ui->btn31, 31);
	pGroup->addButton(ui->btn32, 32);
	pGroup->addButton(ui->btn33, 33);
	pGroup->addButton(ui->btn34, 34);
	pGroup->addButton(ui->btn35, 35);
	pGroup->addButton(ui->btn36, 36);
	pGroup->addButton(ui->btn37, 37);
	pGroup->addButton(ui->btn38, 38);
	pGroup->addButton(ui->btn41, 41);
	pGroup->addButton(ui->btn42, 42);
	pGroup->addButton(ui->btn43, 43);
	pGroup->addButton(ui->btn44, 44);
	pGroup->addButton(ui->btn45, 45);
	pGroup->addButton(ui->btn46, 46);
	pGroup->addButton(ui->btn47, 47);
	pGroup->addButton(ui->btn48, 48);

	connect(pGroup, SIGNAL(buttonClicked(int)), SIGNAL(SignalSelectedTeeth(int)));
}

FullTeethPanel::~FullTeethPanel()
{
	delete ui;
}

void FullTeethPanel::SlotSelectTeeth()
{

}
